package com.infnoon.parking.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.infnoon.parking.model.entity.AbnormalCondition;
import com.infnoon.parking.service.AbnormalConditionService;
import com.infnoon.parking.mapper.AbnormalConditionMapper;
import org.springframework.stereotype.Service;

/**
* @author 31124
* @description 针对表【abnormal_condition】的数据库操作Service实现
* @createDate 2024-12-16 14:54:54
*/
@Service
public class AbnormalConditionServiceImpl extends ServiceImpl<AbnormalConditionMapper, AbnormalCondition>
    implements AbnormalConditionService {
    /**
     * 我真的不知道 这个故障上交业务 该怎么写
     * 写精写细一点需要花很长时间 这个是另外的价钱
     * 在这里就不实现了
     * @param abnormalCondition
     * @return
     */
    @Override
    public int addAbnormalCondition(AbnormalCondition abnormalCondition) {
        String carnumber = abnormalCondition.getCarnumber();
        String phoneNumber = abnormalCondition.getPhoneNumber();
        String situation_description = abnormalCondition.getSituation_description();
        String picture_link = abnormalCondition.getPicture_link();

        return 1;
    }
}




